﻿

OA.A0312Info = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.A0312Info.prototype = new BaseModel(
        function () {
            this.TableName = "A0312";
            this.Fields = {
                Code: 'code',
                Name: 'name'
            };
            this.Expression = {};
        });

OA.BmdMessageInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BmdMessageInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BmdMessage";
            this.Fields = {
                ID: 'ID',
                PID: 'PID',
                Title: 'Title',
                Content: 'Content',
                Type: 'Type',
                IsAllowReply: 'IsAllowReply',
                Sender: 'Sender',
                SendDate: 'SendDate',
                Receiver: 'Receiver',
                IsRead: 'IsRead',
                ReadDate: 'ReadDate',
                UserName: 'UserName',
                DepartmentId: 'DepartmentId',
                DepartType: 'DepartType'
            };
            this.Expression = {};
        });

OA.BmdMessageRightInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BmdMessageRightInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BmdMessageRight";
            this.Fields = {
                ID: 'ID',
                MessageType: '消息类别',
                RoleID: 'RoleID',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BmdMessageTemplateInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BmdMessageTemplateInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BmdMessageTemplate";
            this.Fields = {
                ID: 'ID',
                MessageType: '消息类别',
                Title: 'Title',
                Content: 'Content',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswAccountInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswAccountInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswAccount";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                AccountName: 'AccountName',
                InitMoney: 'InitMoney'
            };
            this.Expression = {};
        });

OA.BswCardpositionInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswCardpositionInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswCardposition";
            this.Fields = {
                ID: 'ID',
                WarehouseID: 'WarehouseID',
                CardName: 'CardName',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswDeliveryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswDeliveryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswDelivery";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Name: 'Name'
            };
            this.Expression = {};
        });

OA.BswDictAreaInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswDictAreaInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswDictArea";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Value: 'Value'
            };
            this.Expression = {};
        });

OA.BswDictCollectiontypeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswDictCollectiontypeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswDictCollectiontype";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Name: 'Name'
            };
            this.Expression = {};
        });

OA.BswDictIncomeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswDictIncomeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswDictIncome";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Name: 'Name'
            };
            this.Expression = {};
        });

OA.BswDictPaymentInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswDictPaymentInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswDictPayment";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Name: 'Name'
            };
            this.Expression = {};
        });

OA.BswDictPayoutInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswDictPayoutInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswDictPayout";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Name: 'Name'
            };
            this.Expression = {};
        });

OA.BswDictProviderFeeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswDictProviderFeeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswDictProviderFee";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Content: 'Content'
            };
            this.Expression = {};
        });

OA.BswDictWarehouseInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswDictWarehouseInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswDictWarehouse";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Content: 'Content',
                CompanyID: 'CompanyID',
                DailyMaxShipCount: 'DailyMaxShipCount',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswGoodsInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswGoodsInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswGoods";
            this.Fields = {
                ID: 'ID',
                GoodsSortCode: 'GoodsSortCode',
                GoodsCode: 'GoodsCode',
                GoodsName: 'GoodsName',
                GoodsPYM: 'GoodsPYM',
                Model: 'Model',
                Spec: 'Spec',
                BarCode: 'BarCode',
                Unit: 'Unit',
                StockUpLimit: 'StockUpLimit',
                StockLowerLimit: 'StockLowerLimit',
                InPrice: 'InPrice',
                NewInPrice: 'NewInPrice',
                OutPrice: 'OutPrice',
                PromotionPrice: 'PromotionPrice',
                WholeSalePrice: 'WholeSalePrice',
                MemberPrice: 'MemberPrice',
                FixedCost: 'FixedCost',
                MoveCost: 'MoveCost',
                ProductionOrigin: 'ProductionOrigin',
                Manufacturer: 'Manufacturer',
                FirstStock: 'FirstStock',
                FirstWarehouse: 'FirstWarehouse',
                Volume: 'Volume',
                Weight: 'Weight',
                Colour: 'Colour',
                Size: 'Size',
                Style: 'Style',
                ProviderCode: 'ProviderCode',
                Remark: 'Remark',
                StatusCode: 'StatusCode',
                VirtualStock: 'VirtualStock',
                AvailableStock: 'AvailableStock',
                OperateCode: 'OperateCode',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                IsValid: 'IsValid',
                OrderLimit: 'OrderLimit',
                GoodsCategory: 'GoodsCategory',
                Supply: 'Supply',
                Specics: 'Specics',
                Dosage: 'Dosage',
                Formulation: 'Formulation',
                PackingMaterial: 'PackingMaterial',
                Materialtype: 'Materialtype',
                Validity: 'Validity',
                CompanyID: 'CompanyID',
                InventoryName: 'InventoryName',
                GoodsLevel: 'GoodsLevel'
            };
            this.Expression = {};
        });

OA.BswGoods_deletedInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswGoods_deletedInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswGoods_deleted";
            this.Fields = {
                ID: 'ID',
                GoodsID: 'GoodsID',
                GoodsSortCode: 'GoodsSortCode',
                GoodsCode: 'GoodsCode',
                GoodsName: 'GoodsName',
                GoodsPYM: 'GoodsPYM',
                Model: 'Model',
                Spec: 'Spec',
                BarCode: 'BarCode',
                Unit: 'Unit',
                StockUpLimit: 'StockUpLimit',
                StockLowerLimit: 'StockLowerLimit',
                InPrice: 'InPrice',
                NewInPrice: 'NewInPrice',
                OutPrice: 'OutPrice',
                PromotionPrice: 'PromotionPrice',
                WholeSalePrice: 'WholeSalePrice',
                MemberPrice: 'MemberPrice',
                FixedCost: 'FixedCost',
                MoveCost: 'MoveCost',
                ProductionOrigin: 'ProductionOrigin',
                Manufacturer: 'Manufacturer',
                FirstStock: 'FirstStock',
                FirstWarehouse: 'FirstWarehouse',
                Volume: 'Volume',
                Weight: 'Weight',
                Colour: 'Colour',
                Size: 'Size',
                Style: 'Style',
                ProviderCode: 'ProviderCode',
                Remark: 'Remark',
                StatusCode: 'StatusCode',
                VirtualStock: 'VirtualStock',
                AvailableStock: 'AvailableStock',
                OperateCode: 'OperateCode',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                IsValid: 'IsValid',
                OrderLimit: 'OrderLimit',
                GoodsCategory: 'GoodsCategory',
                Supply: 'Supply',
                Specics: 'Specics',
                Dosage: 'Dosage',
                Formulation: 'Formulation',
                PackingMaterial: 'PackingMaterial',
                Materialtype: 'Materialtype',
                Validity: 'Validity',
                CompanyID: 'CompanyID'
            };
            this.Expression = {};
        });

OA.BswGoodsinventoryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswGoodsinventoryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswGoodsinventory";
            this.Fields = {
                ID: 'ID',
                GoodsID: 'GoodsID',
                WarehouseNO: 'WarehouseNO',
                VirtualStock: 'VirtualStock',
                AvailableStock: 'AvailableStock',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswGoodsOperateInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswGoodsOperateInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswGoodsOperate";
            this.Fields = {
                ID: 'ID',
                OperateCode: 'OperateCode',
                OperateName: 'OperateName',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswGoodsPriceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswGoodsPriceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswGoodsPrice";
            this.Fields = {
                ID: 'ID',
                GoodsID: 'GoodsID',
                GoodsName: 'GoodsName',
                GoodsSortName: 'GoodsSortName',
                InPrice: 'InPrice',
                NewInPrice: 'NewInPrice',
                LastEditBy: 'LastEditBy',
                LastEditdate: 'LastEditdate',
                StatusCode: 'StatusCode'
            };
            this.Expression = {};
        });

OA.BswGoodsPriceHistoryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswGoodsPriceHistoryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswGoodsPriceHistory";
            this.Fields = {
                ID: 'ID',
                GoodsID: 'GoodsID',
                GoodsName: 'GoodsName',
                GoodsSortName: 'GoodsSortName',
                InPrice: 'InPrice',
                NewInPrice: 'NewInPrice',
                LastEditBy: 'LastEditBy',
                LastEditdate: 'LastEditdate',
                StatusCode: 'StatusCode'
            };
            this.Expression = {};
        });

OA.BswGoodsPriceTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswGoodsPriceTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswGoodsPriceTrace";
            this.Fields = {
                ID: 'ID',
                GoodsID: 'GoodsID',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswGoodsSortInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswGoodsSortInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswGoodsSort";
            this.Fields = {
                ID: 'ID',
                GoodsSortCode: 'GoodsSortCode',
                GoodsSortName: 'GoodsSortName',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswGoodsTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswGoodsTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswGoodsTrace";
            this.Fields = {
                Id: 'id',
                GoodsID: 'GoodsID',
                OrderNo: 'OrderNo',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswInStorageSortInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswInStorageSortInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswInStorageSort";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Name: 'Name'
            };
            this.Expression = {};
        });

OA.BswInventoryINInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswInventoryINInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswInventoryIN";
            this.Fields = {
                ID: 'ID',
                GoodsID: 'GoodsID',
                InDate: 'InDate',
                Quantity: 'Quantity',
                Warehouse: 'Warehouse',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                InStorageSort: 'InStorageSort',
                Batch: 'batch',
                Begindate: 'begindate',
                Enddate: 'enddate',
                ProvvendorID: 'provvendorID',
                Status: 'status',
                RelationCode: 'RelationCode'
            };
            this.Expression = {};
        });

OA.BswInventoryOutInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswInventoryOutInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswInventoryOut";
            this.Fields = {
                ID: 'ID',
                GoodsID: 'GoodsID',
                OutDate: 'OutDate',
                Quantity: 'Quantity',
                Warehouse: 'Warehouse',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                OutStorageSort: 'OutStorageSort',
                Departmentid: 'departmentid',
                Salesstaff: 'salesstaff',
                RelationCode: 'RelationCode'
            };
            this.Expression = {};
        });

OA.BswMateriaRelationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswMateriaRelationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswMateriaRelation";
            this.Fields = {
                Id: 'id',
                Type: 'type',
                GoodsID: 'GoodsID',
                Relationer: 'Relationer',
                Quantity: 'Quantity',
                IsValidate: 'IsValidate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswOtherInComeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswOtherInComeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswOtherInCome";
            this.Fields = {
                IncomeID: 'IncomeID',
                IncomeCode: 'IncomeCode',
                GatherDate: 'GatherDate',
                ItemName: 'ItemName',
                ItemMoney: 'ItemMoney',
                GatherType: 'GatherType',
                GatherGo: 'GatherGo',
                RefBill: 'RefBill',
                JingShouRen: 'JingShouRen',
                IsAudit: 'IsAudit',
                Remark: 'Remark',
                CreateDate: 'CreateDate',
                CreateUserID: 'CreateUserID'
            };
            this.Expression = {};
        });

OA.BswOtherOutFeeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswOtherOutFeeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswOtherOutFee";
            this.Fields = {
                OutFeeID: 'OutFeeID',
                OutFeeCode: 'OutFeeCode',
                OutDate: 'OutDate',
                ItemName: 'ItemName',
                ItemMoney: 'ItemMoney',
                OutType: 'OutType',
                OutGo: 'OutGo',
                RefBill: 'RefBill',
                JingShouRen: 'JingShouRen',
                IsAudit: 'IsAudit',
                CreateDate: 'CreateDate',
                CreateUserID: 'CreateUserID'
            };
            this.Expression = {};
        });

OA.BswOutStorageSortInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswOutStorageSortInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswOutStorageSort";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Name: 'Name'
            };
            this.Expression = {};
        });

OA.BswPaidInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswPaidInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswPaid";
            this.Fields = {
                PayID: 'PayID',
                YPayID: 'YPayID',
                PayCode: 'PayCode',
                PayDate: 'PayDate',
                HandleBy: 'HandleBy',
                InvoiceNumber: 'InvoiceNumber',
                NowPayMoney: 'NowPayMoney',
                RemainOwes: 'RemainOwes',
                PayType: 'PayType',
                PaySource: 'PaySource',
                IsAudit: 'IsAudit',
                IsPrepay: 'IsPrepay',
                Remark: 'Remark',
                CreateDate: 'CreateDate',
                CreateUser: 'CreateUser',
                LastEditDate: 'LastEditDate',
                LastEditBy: 'LastEditBy',
                OrderCode: 'OrderCode'
            };
            this.Expression = {};
        });

OA.BswPayablesInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswPayablesInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswPayables";
            this.Fields = {
                YPayID: 'YPayID',
                YPayCode: 'YPayCode',
                StockID: 'stockID',
                OrderCode: 'OrderCode',
                ProviderCode: 'ProviderCode',
                FareType: 'FareType',
                HappenDate: 'HappenDate',
                PayDate: 'PayDate',
                YPayMoney: 'YPayMoney',
                AlreadyMoney: 'AlreadyMoney',
                RemainMoney: 'RemainMoney',
                RegisterDate: 'RegisterDate',
                PayState: 'PayState',
                Remark: 'Remark',
                CreateDate: 'CreateDate',
                CreateUser: 'CreateUser',
                AuditStatus: 'AuditStatus',
                Quality_ID: 'Quality_ID',
                LastEditDate: 'LastEditDate',
                LastEditBy: 'LastEditBy',
                GoodsID: 'GoodsID'
            };
            this.Expression = {};
        });

OA.BswPendingGoodsInventoryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswPendingGoodsInventoryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswPendingGoodsInventory";
            this.Fields = {
                ID: 'ID',
                GoodsID: 'GoodsID',
                Warehouse: 'warehouse',
                Quantity: 'Quantity',
                LastEditby: 'LastEditby',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswPendingGoodsTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswPendingGoodsTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswPendingGoodsTrace";
            this.Fields = {
                ID: 'ID',
                GoodsID: 'GoodsID',
                Warehouse: 'warehouse',
                Quantity: 'Quantity',
                LastEditby: 'LastEditby',
                LastEditDate: 'LastEditDate',
                RelationCode: 'RelationCode'
            };
            this.Expression = {};
        });

OA.BswPermUserGoodsInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswPermUserGoodsInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswPermUserGoods";
            this.Fields = {
                Id: 'Id',
                UserId: 'UserId',
                GoodsId: 'GoodsId',
                ActionType: 'ActionType',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswPrepayInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswPrepayInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswPrepay";
            this.Fields = {
                PrepayID: 'PrepayID',
                OrderCode: 'OrderCode',
                ProviderCode: 'ProviderCode',
                PrepayDate: 'PrepayDate',
                PayDate: 'PayDate',
                HandleBy: 'HandleBy',
                PayType: 'PayType',
                PaySource: 'PaySource',
                InvoiceNumber: 'InvoiceNumber',
                PayMoney: 'PayMoney',
                PrepayMoney: 'PrepayMoney',
                PayState: 'PayState',
                Remark: 'Remark',
                CreateDate: 'CreateDate',
                CreateUser: 'CreateUser',
                StatusCode: 'StatusCode',
                LastEditDate: 'LastEditDate',
                LastEditBy: 'LastEditBy'
            };
            this.Expression = {};
        });

OA.BswPrepayTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswPrepayTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswPrepayTrace";
            this.Fields = {
                ID: 'ID',
                PrepayID: 'PrepayID',
                PayDate: 'PayDate',
                PayType: 'PayType',
                PaySource: 'PaySource',
                InvoiceNumber: 'InvoiceNumber',
                PayMoney: 'PayMoney',
                Remark: 'Remark',
                LastEditDate: 'LastEditDate',
                LastEdiyBy: 'LastEdiyBy'
            };
            this.Expression = {};
        });

OA.BswPriceTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswPriceTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswPriceTrace";
            this.Fields = {
                ID: 'ID',
                GoodsCode: 'GoodsCode',
                ProductID: 'ProductID',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswproductInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswproductInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Bswproduct";
            this.Fields = {
                Id: 'id',
                ProductCategory: 'productCategory',
                Category: 'Category',
                StandardName: 'StandardName',
                SaleName: 'SaleName',
                Spell: 'Spell',
                Size: 'Size',
                Capacity: 'Capacity',
                Color: 'Color',
                PackageQuantity: 'PackageQuantity',
                Package: 'Package',
                Dosage: 'Dosage',
                Part: 'Part',
                Property: 'Property',
                OriginalPrice: 'OriginalPrice',
                NewOriginalPrice: 'NewOriginalPrice',
                PresentPrice: 'PresentPrice',
                NewPresentPrice: 'NewPresentPrice',
                OrderBy: 'OrderBy',
                OperateCode: 'OperateCode',
                CreateBy: 'CreateBy',
                CreateDate: 'CreateDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                SyncDate: '抛砖日期',
                IsValid: 'IsValid',
                BarCode: 'BarCode',
                IsDiscount: 'IsDiscount',
                Trademark: 'trademark',
                PackName: 'packName',
                Goods_sn: 'goods_sn',
                Goods_brief: 'goods_brief',
                Goods_manual: 'goods_manual',
                Goods_img: 'goods_img',
                Goods_desc: 'goods_desc',
                Goods_thumb: 'goods_thumb',
                IsDisplay: 'IsDisplay',
                ProductCode: 'ProductCode',
                BatchNumber: 'BatchNumber',
                StatusCode: 'StatusCode',
                Supply: 'Supply',
                Specics: 'Specics',
                Formulations: 'Formulations',
                Specification: 'Specification',
                PackingMaterial: 'PackingMaterial',
                MaterialType: 'MaterialType',
                Unit: 'Unit',
                Ratified: 'Ratified',
                QualityNO: 'QualityNO',
                Period: 'Period',
                Manufacturer: 'Manufacturer',
                Supplier: 'Supplier',
                HandleBy: 'HandleBy',
                Storage: 'Storage',
                IsCheckInverntory: 'IsCheckInverntory',
                ProductType: 'ProductType',
                ProductStar: 'ProductStar',
                ThinBodyParts: 'ThinBodyParts',
                TreatmentCourse: 'TreatmentCourse',
                ExchangeLevel: 'ExchangeLevel',
                ExchangePoints: 'ExchangePoints',
                ProductRemark: 'ProductRemark',
                FunctionInterpretation: 'FunctionInterpretation',
                ThinbodyFunctionAnalysis: 'ThinbodyFunctionAnalysis',
                AdditionalFunctionAnalysis: 'AdditionalFunctionAnalysis',
                Symptoms: 'symptoms',
                Isimport: 'Isimport',
                Ismain: 'Ismain',
                Dose: 'Dose',
                FrequencyOfUse: 'FrequencyOfUse',
                ProductComponents: 'ProductComponents'
            };
            this.Expression = {};
        });

OA.BswProductCategoryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductCategoryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductCategory";
            this.Fields = {
                ID: 'ID',
                ProductID: 'ProductID',
                CategoryID: 'CategoryID',
                Type: 'Type',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                Msrepl_tran_version: 'msrepl_tran_version'
            };
            this.Expression = {};
        });

OA.BswProductCombineInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductCombineInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductCombine";
            this.Fields = {
                ID: 'ID',
                RootID: 'RootID',
                ProductID: 'ProductID',
                Quantity: 'Quantity',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                Msrepl_tran_version: 'msrepl_tran_version'
            };
            this.Expression = {};
        });

OA.BswProductDepartRelationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductDepartRelationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductDepartRelation";
            this.Fields = {
                ID: 'ID',
                ProductID: 'ProductID',
                DepartmentID: 'DepartmentID',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                OperateCode: 'OperateCode',
                SyncDate: 'SyncDate'
            };
            this.Expression = {};
        });

OA.BswProductPartInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductPartInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductPart";
            this.Fields = {
                Id: 'id',
                PartName: 'PartName',
                Spell: 'Spell',
                Unit: 'Unit',
                Size: 'Size',
                Capacity: 'Capacity',
                Color: 'Color',
                Property: 'Property',
                OrderBy: 'OrderBy',
                OperateCode: 'OperateCode',
                CreateBy: 'CreateBy',
                CreateDate: 'CreateDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                SyncDate: '抛砖日期',
                IsValid: 'IsValid',
                BarCode: 'BarCode',
                ProductPartCode: 'ProductPartCode',
                BatchNumber: 'BatchNumber',
                StatusCode: 'StatusCode'
            };
            this.Expression = {};
        });

OA.BswProductPartRelationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductPartRelationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductPartRelation";
            this.Fields = {
                ID: 'ID',
                ProductID: 'ProductID',
                ProductPartID: 'ProductPartID',
                Quantity: 'Quantity',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                OperateCode: 'OperateCode',
                SyncDate: 'SyncDate'
            };
            this.Expression = {};
        });

OA.BswProductPartTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductPartTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductPartTrace";
            this.Fields = {
                Id: 'id',
                ProductPartID: 'ProductPartID',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswproductpriceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswproductpriceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Bswproductprice";
            this.Fields = {
                ID: 'ID',
                ProductID: 'ProductID',
                SaleName: 'SaleName',
                TypeName: 'TypeName',
                OriginalPrice: 'OriginalPrice',
                NewOriginalPrice: 'NewOriginalPrice',
                PresentPrice: 'PresentPrice',
                NewPresentPrice: 'NewPresentPrice',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                StatusCode: 'StatusCode'
            };
            this.Expression = {};
        });

OA.BswproductpricehistoryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswproductpricehistoryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Bswproductpricehistory";
            this.Fields = {
                ID: 'ID',
                ProductID: 'ProductID',
                SaleName: 'SaleName',
                TypeName: 'TypeName',
                OriginalPrice: 'OriginalPrice',
                NewOriginalPrice: 'NewOriginalPrice',
                PresentPrice: 'PresentPrice',
                NewPresentPrice: 'NewPresentPrice',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                StatusCode: 'StatusCode'
            };
            this.Expression = {};
        });

OA.BswProductPriceTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductPriceTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductPriceTrace";
            this.Fields = {
                ID: 'ID',
                ProductID: 'ProductID',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswProductRelationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductRelationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductRelation";
            this.Fields = {
                ID: 'ID',
                ProductID: 'ProductID',
                ProductPartID: 'ProductPartID',
                Quantity: 'Quantity',
                OperateCode: 'OperateCode',
                SyncDate: 'SyncDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswProductTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductTrace";
            this.Fields = {
                Id: 'id',
                ProductID: 'ProductID',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswProductTypeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProductTypeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProductType";
            this.Fields = {
                ID: 'ID',
                ParentID: 'ParentID',
                OrganID: 'OrganID',
                TypeName: 'TypeName',
                OrderBy: 'OrderBy',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                Msrepl_tran_version: 'msrepl_tran_version'
            };
            this.Expression = {};
        });

OA.BswProviderInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProviderInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProvider";
            this.Fields = {
                ID: 'ID',
                ProviderCode: 'ProviderCode',
                ProviderSortCode: 'ProviderSortCode',
                ProviderName: 'ProviderName',
                ProviderPYM: 'ProviderPYM',
                Province: 'Province',
                City: 'City',
                Address: 'Address',
                Telephone: 'Telephone',
                Fax: 'Fax',
                Pstalcode: 'Pstalcode',
                FaxNumber: 'FaxNumber',
                Account: 'Account',
                OpenBank: 'OpenBank',
                Email: 'Email',
                Site: 'Site',
                Corporation: 'Corporation',
                FirstPay: 'FirstPay',
                BusinesslicenseNo: 'BusinesslicenseNo',
                Licensekey: 'Licensekey',
                Scope: 'Scope',
                Businessway: 'Businessway',
                Production: 'Production',
                Honour: 'Honour',
                Technicist: 'Technicist',
                Majorproduct: 'Majorproduct',
                Quality: 'Quality',
                Assurance: 'Assurance',
                Description: 'Description',
                Management: 'Management',
                ShoesID: 'ShoesID',
                StatusCode: 'StatusCode',
                CompanyID: 'CompanyID',
                CreateBy: 'CreateBy',
                CreateDate: 'CreateDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswProviderDataInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProviderDataInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProviderData";
            this.Fields = {
                DatailsID: 'DatailsID',
                Id: 'id',
                DataDetails: 'DataDetails',
                OfficialSeal: 'OfficialSeal',
                Scope: 'Scope',
                DataExpiry: 'dataExpiry',
                Renewal: 'Renewal',
                Remark: 'Remark'
            };
            this.Expression = {};
        });

OA.BswProviderIndustryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProviderIndustryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProviderIndustry";
            this.Fields = {
                IndustryID: 'IndustryID',
                ID: 'ID',
                IndustryName: 'IndustryName',
                IndustrySex: 'IndustrySex',
                IndustryStandard: 'IndustryStandard',
                IndustryJob: 'IndustryJob',
                JobName: 'JobName',
                Workperiod: 'Workperiod',
                Telephone: 'Telephone'
            };
            this.Expression = {};
        });

OA.BswProviderLinkmanInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProviderLinkmanInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProviderLinkman";
            this.Fields = {
                ID: 'ID',
                ProviderCode: 'ProviderCode',
                Linkman: 'Linkman',
                Position: 'Position',
                Telephone: 'Telephone',
                Mobile: 'Mobile',
                Email: 'Email',
                QQ: 'QQ',
                MSN: 'MSN',
                Hobby: 'Hobby',
                HomePhone: 'HomePhone',
                HomeAddress: 'HomeAddress',
                HomePost: 'HomePost'
            };
            this.Expression = {};
        });

OA.BswProviderQualificationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProviderQualificationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProviderQualification";
            this.Fields = {
                Detailsid: 'Detailsid',
                ProviderCode: 'ProviderCode',
                DataDetails: 'DataDetails',
                OfficialSeal: 'OfficialSeal',
                Scope: 'Scope',
                ExpiryDate: 'ExpiryDate',
                Renewal: 'Renewal',
                CreateDate: 'CreateDate',
                Remark: 'Remark'
            };
            this.Expression = {};
        });

OA.BswProviderSortInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProviderSortInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProviderSort";
            this.Fields = {
                ID: 'ID',
                ProviderSortCode: 'ProviderSortCode',
                ProviderSortName: 'ProviderSortName'
            };
            this.Expression = {};
        });

OA.BswProvidertraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswProvidertraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswProvidertrace";
            this.Fields = {
                Id: 'id',
                OrderNo: 'OrderNo',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswqualityinspectionDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswqualityinspectionDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswqualityinspectionDetail";
            this.Fields = {
                ID: 'ID',
                DetID: 'DetID',
                StockID: 'StockID',
                GoodsID: 'GoodsID',
                ISQualityID: 'ISQualityID',
                Lotnumber: 'Lotnumber',
                ProductionDate: 'ProductionDate',
                ValidUntil: 'ValidUntil',
                Quantity: 'Quantity',
                Arrivalnumber: 'arrivalnumber',
                InComeQuantity: 'InComeQuantity',
                QualityQuantity: 'QualityQuantity',
                SumMoney: 'SumMoney',
                Quality: 'Quality',
                Conclusion: 'Conclusion',
                StatusCode: 'StatusCode',
                QualityInspectionDate: 'QualityInspectionDate',
                Lasteditby: 'lasteditby',
                Lasteditdate: 'lasteditdate',
                QualityBy: 'QualityBy',
                Warehouse: 'warehouse',
                Isstorage: 'isstorage',
                StorageBy: 'StorageBy'
            };
            this.Expression = {};
        });

OA.BswStockInGoodsInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockInGoodsInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockInGoods";
            this.Fields = {
                StockID: 'StockID',
                OrderCode: 'OrderCode',
                ProviderCode: 'ProviderCode',
                InStorageDate: 'InStorageDate',
                HandleBy: 'HandleBy',
                InvoiceNumber: 'InvoiceNumber',
                Discount: 'Discount',
                InMoney: 'InMoney',
                SumMoney: 'SumMoney',
                IsAudit: 'IsAudit',
                IsReturnFinish: 'IsReturnFinish',
                StatusCode: 'StatusCode',
                Remark: 'Remark',
                CreateDate: 'CreateDate',
                CreateUser: 'CreateUser',
                IsValid: 'IsValid'
            };
            this.Expression = {};
        });

OA.BswStockInGoodsDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockInGoodsDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockInGoodsDetail";
            this.Fields = {
                DetID: 'DetID',
                StockID: 'StockID',
                GoodsID: 'GoodsID',
                GoodsCode: 'GoodsCode',
                Quantity: 'Quantity',
                ShipQuantity: 'ShipQuantity',
                InComeQuantity: 'InComeQuantity',
                FinishReturnQuantity: 'FinishReturnQuantity',
                UnitPrice: 'UnitPrice',
                IsFinish: 'IsFinish',
                IsReturnFinish: 'IsReturnFinish',
                SumMoney: 'SumMoney',
                PreWarehouse: 'PreWarehouse',
                Warehouse: 'Warehouse',
                DetailCreateDate: 'DetailCreateDate',
                LotNumber: 'LotNumber',
                ProductionDate: 'ProductionDate',
                ValidUntil: 'ValidUntil',
                ArrivalNumber: 'ArrivalNumber',
                Quality: 'Quality',
                Conclusion: 'Conclusion',
                IsQuality: 'IsQuality',
                IsStorage: 'IsStorage',
                CreateBy: 'CreateBy',
                CreateDate: 'CreateDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswStockInGoodstraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockInGoodstraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockInGoodstrace";
            this.Fields = {
                Id: 'id',
                Stockid: 'Stockid',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswStockOrderInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockOrderInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockOrder";
            this.Fields = {
                ID: 'ID',
                OrderCode: 'OrderCode',
                ProviderCode: 'ProviderCode',
                Amount: 'Amount',
                HandleBy: 'HandleBy',
                DeliveryType: 'DeliveryType',
                OrderDate: 'OrderDate',
                DeliveryDate: 'DeliveryDate',
                PayDate: 'PayDate',
                DeliveryAddress: 'DeliveryAddress',
                Discount: 'Discount',
                PayType: 'PayType',
                PaySource: 'PaySource',
                Prepay: 'Prepay',
                IsFinish: 'IsFinish',
                OrderStatus: 'OrderStatus',
                Remark: 'Remark',
                CreateUser: 'CreateUser',
                CreateDate: 'CreateDate',
                IsValid: 'IsValid',
                ClearingForm: 'ClearingForm',
                Note: 'Note'
            };
            this.Expression = {};
        });

OA.BswStockOrderDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockOrderDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockOrderDetail";
            this.Fields = {
                ID: 'ID',
                OrderCode: 'OrderCode',
                GoodsID: 'GoodsID',
                GoodsCode: 'GoodsCode',
                GoodsQuantity: 'GoodsQuantity',
                UnitPrice: 'UnitPrice',
                Discount: 'Discount',
                SumMoney: 'SumMoney',
                FinishCircs: 'FinishCircs',
                FinishQuantity: 'FinishQuantity',
                House: 'House',
                IsFinish: 'IsFinish',
                Remark: 'Remark',
                InQuantity: 'InQuantity'
            };
            this.Expression = {};
        });

OA.BswStockOrdertraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockOrdertraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockOrdertrace";
            this.Fields = {
                Id: 'id',
                OrderNo: 'OrderNo',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswStockpileOtherInInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileOtherInInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileOtherIn";
            this.Fields = {
                INID: 'INID',
                InCode: 'InCode',
                InDate: 'InDate',
                HandleBy: 'HandleBy',
                CheckRen: 'CheckRen',
                Money: 'Money',
                IsAudit: 'IsAudit',
                StatusCode: 'StatusCode',
                Remark: 'Remark',
                InStorageSort: 'InStorageSort',
                CreateDate: 'CreateDate',
                CreateUser: 'CreateUser',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswStockpileOtherInDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileOtherInDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileOtherInDetail";
            this.Fields = {
                INDetID: 'INDetID',
                INID: 'INID',
                GoodsID: 'GoodsID',
                GoodsCode: 'GoodsCode',
                Quantity: 'Quantity',
                UnitPrice: 'UnitPrice',
                AllMoney: 'AllMoney',
                Warehouse: 'Warehouse',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                IsCheck: 'IsCheck',
                ScrapAmount: 'ScrapAmount',
                WasteWarehouse: 'WasteWarehouse',
                AvailableQuantity: 'AvailableQuantity',
                InWarehouse: 'InWarehouse',
                Reason: 'Reason',
                PendingQuantity: 'PendingQuantity',
                PendingWarehouse: 'PendingWarehouse',
                IsStorage: 'IsStorage'
            };
            this.Expression = {};
        });

OA.BswStockpileOtherInDetail_BRMInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileOtherInDetail_BRMInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileOtherInDetail_BRM";
            this.Fields = {
                INDetID: 'INDetID',
                INID: 'INID',
                GoodsID: 'GoodsID',
                GoodsCode: 'GoodsCode',
                Quantity: 'Quantity',
                UnitPrice: 'UnitPrice',
                AllMoney: 'AllMoney',
                Warehouse: 'Warehouse',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                IsCheck: 'IsCheck',
                ScrapAmount: 'ScrapAmount',
                WasteWarehouse: 'WasteWarehouse'
            };
            this.Expression = {};
        });

OA.BswStockpileOtherInTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileOtherInTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileOtherInTrace";
            this.Fields = {
                Id: 'id',
                INID: 'INID',
                OrderStatus: 'OrderStatus',
                Remark: 'Remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswStockpileOtherOutInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileOtherOutInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileOtherOut";
            this.Fields = {
                OutID: 'OutID',
                OutCode: 'OutCode',
                OutDate: 'OutDate',
                HandleBy: 'HandleBy',
                CheckRen: 'CheckRen',
                Money: 'Money',
                IsAudit: 'IsAudit',
                StatusCode: 'StatusCode',
                Remark: 'Remark',
                CreateDate: 'CreateDate',
                CreateUser: 'CreateUser',
                OutStorageSort: 'OutStorageSort',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswStockpileOtherOutDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileOtherOutDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileOtherOutDetail";
            this.Fields = {
                OutDetID: 'OutDetID',
                OutID: 'OutID',
                GoodsID: 'GoodsID',
                GoodsCode: 'GoodsCode',
                Quantity: 'Quantity',
                UnitPrice: 'UnitPrice',
                AllMoney: 'AllMoney',
                Warehouse: 'Warehouse',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                OutUser: 'OutUser',
                Usage: 'Usage'
            };
            this.Expression = {};
        });

OA.BswStockpileOtherOutTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileOtherOutTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileOtherOutTrace";
            this.Fields = {
                Id: 'id',
                OutID: 'OutID',
                OrderStatus: 'OrderStatus',
                Remark: 'Remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswStockpileRemoveInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileRemoveInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileRemove";
            this.Fields = {
                MoveID: 'MoveID',
                MoveCode: 'MoveCode',
                HandleBy: 'HandleBy',
                CheckRen: 'CheckRen',
                MoveDate: 'MoveDate',
                Remark: 'Remark',
                IsAudit: 'IsAudit',
                StatusCode: 'StatusCode',
                CreateDate: 'CreateDate',
                CreateUser: 'CreateUser',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswStockpileRemoveDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileRemoveDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileRemoveDetail";
            this.Fields = {
                ID: 'ID',
                MoveID: 'MoveID',
                GoodsID: 'GoodsID',
                GoodsCode: 'GoodsCode',
                Quantity: 'Quantity',
                OutWarehouse: 'OutWarehouse',
                InWarehouse: 'InWarehouse',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                AllMoney: 'AllMoney',
                UnitPrice: 'UnitPrice'
            };
            this.Expression = {};
        });

OA.BswStockpileRemoveTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockpileRemoveTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockpileRemoveTrace";
            this.Fields = {
                Id: 'id',
                MoveID: 'MoveID',
                OrderStatus: 'OrderStatus',
                Remark: 'Remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswStockReturnInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockReturnInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockReturn";
            this.Fields = {
                ReturnID: 'ReturnID',
                StockID: 'StockID',
                ReturnCode: 'ReturnCode',
                OrderCode: 'OrderCode',
                ProviderCode: 'ProviderCode',
                ReturnMoney: 'ReturnMoney',
                ReturnDate: 'ReturnDate',
                HandleBy: 'HandleBy',
                StatusCode: 'StatusCode',
                SumMoney: 'SumMoney',
                IsAudit: 'IsAudit',
                Invoice: 'Invoice',
                Remark: 'Remark',
                CreateDate: 'CreateDate',
                CreateUser: 'CreateUser'
            };
            this.Expression = {};
        });

OA.BswStockReturnDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockReturnDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockReturnDetail";
            this.Fields = {
                ID: 'ID',
                ReturnID: 'ReturnID',
                GoodsID: 'GoodsID',
                GoodsCode: 'GoodsCode',
                Quantity: 'Quantity',
                ReturnQuantity: 'ReturnQuantity',
                UnitPrice: 'UnitPrice',
                IsFinish: 'IsFinish',
                SumMoney: 'SumMoney',
                WareHouse: 'WareHouse',
                CreateDate: 'CreateDate'
            };
            this.Expression = {};
        });

OA.BswStockReturntraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswStockReturntraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswStockReturntrace";
            this.Fields = {
                Id: 'id',
                ReturnID: 'ReturnID',
                OrderStatus: 'OrderStatus',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.BswUnitsInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.BswUnitsInfo.prototype = new BaseModel(
        function () {
            this.TableName = "BswUnits";
            this.Fields = {
                ID: 'ID',
                Code: 'Code',
                Name: 'Name'
            };
            this.Expression = {};
        });

OA.CapAssetInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.CapAssetInfo.prototype = new BaseModel(
        function () {
            this.TableName = "CapAsset";
            this.Fields = {
                ID: 'ID',
                AssetCode: 'AssetCode',
                AssetName: 'AssetName',
                AssetCategory: 'AssetCategory',
                Model: 'Model',
                ProductFactory: 'ProductFactory',
                ProductDate: 'ProductDate',
                AssetSource: 'AssetSource',
                UseState: 'UseState',
                AssetLocation: 'AssetLocation',
                UserPeople: 'UserPeople',
                UseDept: 'UseDept',
                InAccountDate: 'InAccountDate',
                AssetQuantity: 'AssetQuantity',
                CurrentQuantity: 'CurrentQuantity',
                Unit: 'Unit',
                UseYears: 'UseYears',
                UnitPrice: 'UnitPrice',
                TotalPrices: 'TotalPrices',
                FirstValue: 'FirstValue',
                NetWorth: 'NetWorth',
                NetPercent: 'NetPercent',
                DepreciationWay: 'DepreciationWay',
                ClearDate: 'ClearDate',
                ClearMode: 'ClearMode',
                IsClear: 'IsClear',
                ClearDeptID: 'ClearDeptID',
                CreateAccount: 'CreateAccount',
                CreateDate: 'CreateDate',
                IsDelete: 'isDelete',
                Remark: 'Remark',
                Logs: '操作日志'
            };
            this.Expression = {};
        });

OA.CapAssetAllotInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.CapAssetAllotInfo.prototype = new BaseModel(
        function () {
            this.TableName = "CapAssetAllot";
            this.Fields = {
                ID: 'ID',
                AssetCode: 'AssetCode',
                AssetName: 'AssetName',
                OutDate: 'OutDate',
                OutFromDept: 'OutFromDept',
                OutToDept: 'OutToDept',
                AssetLocation: 'AssetLocation',
                AssetUser: 'AssetUser',
                Ratifier: 'Ratifier',
                Remark: 'Remark'
            };
            this.Expression = {};
        });

OA.CapAssetLoanReturnInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.CapAssetLoanReturnInfo.prototype = new BaseModel(
        function () {
            this.TableName = "CapAssetLoanReturn";
            this.Fields = {
                ID: 'ID',
                AssetCode: 'AssetCode',
                AssetName: 'AssetName',
                LoanDate: 'LoanDate',
                LoanFromDept: 'LoanFromDept',
                LoanFromPeople: 'LoanFromPeople',
                Ratifier: 'Ratifier',
                IsLoan: 'IsLoan',
                PlanDate: 'PlanDate',
                BorrowToDept: 'BorrowToDept',
                BorrowToPeople: 'BorrowToPeople',
                BorrowQuantify: 'BorrowQuantify',
                IsReturn: 'IsReturn',
                ReturnDate: 'ReturnDate',
                ReturnPeople: 'ReturnPeople',
                Remark: 'Remark'
            };
            this.Expression = {};
        });

OA.CapAssetMaintainInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.CapAssetMaintainInfo.prototype = new BaseModel(
        function () {
            this.TableName = "CapAssetMaintain";
            this.Fields = {
                ID: 'ID',
                AssetCode: 'AssetCode',
                AssetName: 'AssetName',
                GiveDate: 'GiveDate',
                MendDate: 'MendDate',
                MendReason: 'MendReason',
                MendStatus: 'MendStatus',
                MendQuantity: 'MendQuantity',
                MendCost: 'MendCost',
                Ratifier: 'Ratifier',
                Remark: 'Remark'
            };
            this.Expression = {};
        });

OA.CompanyPhoneInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.CompanyPhoneInfo.prototype = new BaseModel(
        function () {
            this.TableName = "CompanyPhone";
            this.Fields = {
                Id: 'id',
                Empid: 'empid',
                Plane: 'plane',
                Mobilephone: 'mobilephone',
                Email: 'email',
                Remark: 'remark',
                Type: 'type',
                Name: 'name',
                CompanyName: 'companyName',
                Position: 'position'
            };
            this.Expression = {};
        });

OA.CompanyPhoneTypeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.CompanyPhoneTypeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "CompanyPhoneType";
            this.Fields = {
                Id: 'id',
                Typename: 'typename',
                Remark: 'remark'
            };
            this.Expression = {};
        });

OA.ComplaintInformationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.ComplaintInformationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "ComplaintInformation";
            this.Fields = {
                ID: 'ID',
                CustommerName: 'custommerName',
                Tel: 'tel',
                CustommerID: 'custommerID',
                Content: 'content',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                DealDate: 'DealDate',
                Result: 'Result',
                Dealer: 'Dealer'
            };
            this.Expression = {};
        });

OA.CopycatImformationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.CopycatImformationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "CopycatImformation";
            this.Fields = {
                ID: 'ID',
                CustommerName: '客户姓名',
                Tel: '联系电话',
                CustommerID: '客户编号',
                Content: '内容',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                DealDate: 'DealDate',
                Result: 'Result',
                Dealer: 'Dealer'
            };
            this.Expression = {};
        });

OA.EcAttachInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcAttachInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcAttach";
            this.Fields = {
                GID: '主健',
                ID: '标识',
                TableName: '对应表名',
                PrimaryGID: '订单编号',
                ProcessId: '条件ID(如流程)',
                Name: '文档名称',
                SoureName: '文件原名',
                FileName: '文件名',
                FileType: '文件类型',
                AttachPath: '文件路径',
                CreateBy: '上传人',
                CreateDate: '上传日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期'
            };
            this.Expression = {};
        });

OA.EcConfirmerInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcConfirmerInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcConfirmer";
            this.Fields = {
                GID: '主健',
                ID: '标识',
                CaseNumber: '实例号',
                EcWorkUnitID_GID: '步骤ID',
                WorkUnitName: '步骤名称',
                WorkUnitCode: '步骤编号',
                AuditorDeptID: '审核人部门',
                Auditor: '审核人',
                ProcessHours: '一般处理时间',
                FactHours: '实际处理时间',
                IsClosed: '是否结束',
                OrderBy: 'OrderBy',
                CreateBy: '创建人',
                CreateDate: '创建日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期'
            };
            this.Expression = {};
        });

OA.EcConfirmRecordInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcConfirmRecordInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcConfirmRecord";
            this.Fields = {
                GID: '主健',
                ID: '标识',
                EcConfirmerID_GID: '签核表ID',
                ConfirmBy: '审核人',
                ConfirmDate: '审核时间',
                IsOK: '是否审核通过',
                Comments: '审核意见',
                CloseDate: '关闭日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期'
            };
            this.Expression = {};
        });

OA.EcDepartManagerInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcDepartManagerInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcDepartManager";
            this.Fields = {
                GID: '主键',
                ID: '标识',
                DepartmentID: '部门',
                PostionLevel: '级别',
                Manager: '管理员',
                CreateBy: '创建人',
                CreateDate: '创建日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期'
            };
            this.Expression = {};
        });

OA.EcMailTemplateInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcMailTemplateInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcMailTemplate";
            this.Fields = {
                GID: '主健',
                ID: '标识',
                Name: '模板名称',
                Subject: '主题',
                FromName: '发送人',
                Body: '消息主题',
                CreateBy: '创建人',
                CreateDate: '创建日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期'
            };
            this.Expression = {};
        });

OA.EcMdListInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcMdListInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcMdList";
            this.Fields = {
                ID: 'ID',
                GID: 'GID',
                PGID: 'PGID',
                Text: 'Text',
                Value: 'Value',
                Code: 'Code',
                Type: 'Type',
                OrderBy: 'OrderBy'
            };
            this.Expression = {};
        });

OA.Ecmdlist_0312Info = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.Ecmdlist_0312Info.prototype = new BaseModel(
        function () {
            this.TableName = "Ecmdlist_0312";
            this.Fields = {
                ID: 'ID',
                GID: 'GID',
                PGID: 'PGID',
                Text: 'Text',
                Value: 'Value',
                Code: 'Code',
                Type: 'Type',
                OrderBy: 'OrderBy'
            };
            this.Expression = {};
        });

OA.Ecmdlist0312Info = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.Ecmdlist0312Info.prototype = new BaseModel(
        function () {
            this.TableName = "Ecmdlist0312";
            this.Fields = {
                ID: 'ID',
                GID: 'GID',
                PGID: 'PGID',
                Text: 'Text',
                Value: 'Value',
                Code: 'Code',
                Type: 'Type',
                OrderBy: 'OrderBy'
            };
            this.Expression = {};
        });

OA.EcPayBillInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcPayBillInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcPayBill";
            this.Fields = {
                GID: '主健',
                ID: '标识',
                BillNo: '单据编号',
                EcWorkFlowID_GID: '流程编号',
                ApplyDate: '审核日期',
                ApplyDeptID_GID: '审核部门',
                ApplyAmount: '审核数',
                PayMethod: '付款方式',
                NoReceiptReason: '未取的单据的原因',
                EcReceiveID_GID: '收款信息',
                IsUrgent: '是否急付',
                DeadlineDate: '最迟付款日期',
                CreateDeptID: '创建的部门',
                CreateBy: '创建人',
                CreateDate: '创建日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期',
                State: '单据状态',
                Reason: '退回原因',
                Step: '当前步骤',
                StepUser: '当前步骤人',
                UseKey: '使用标识',
                AttachList: '附件说明',
                MdDepartment_ID: '协助部门',
                EcWorkFlowID_GID_II: '协助流程',
                EcWorkFlowUnit_GID: '流程插入点'
            };
            this.Expression = {};
        });

OA.EcPaybillAttachInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcPaybillAttachInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcPaybillAttach";
            this.Fields = {
                GID: '主健',
                ID: '标识',
                EcPayBill_GID: '订单编号',
                Name: '文档名称',
                AttachPath: '文档路径',
                CreateBy: '上传人',
                CreateDate: '上传日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期'
            };
            this.Expression = {};
        });

OA.EcPaybillDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcPaybillDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcPaybillDetail";
            this.Fields = {
                GID: '主健',
                ID: '标识',
                EcPayBill_GID: '单据编号',
                Specific: '事由',
                Quantity: '总量',
                Unit: '单位',
                UnitPrice: '单价',
                Amount: '数量',
                Remark: '备注',
                CretaeBy: '创建人',
                CreateDate: '创建日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期',
                AccountingSubject: '会计科目'
            };
            this.Expression = {};
        });

OA.EcReceiveInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcReceiveInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcReceive";
            this.Fields = {
                GID: '主健',
                ID: '主健',
                AccountAlias: '账号别名',
                AccountNo: '账号',
                Receiver: '收款人',
                ReceiveBank: '收款银行',
                Mobile: '手机',
                Email: '邮箱',
                CreateBy: '创建人',
                CreateDate: '创建日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期'
            };
            this.Expression = {};
        });

OA.EcWorkFlowInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcWorkFlowInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcWorkFlow";
            this.Fields = {
                GID: '主键',
                ID: '标识',
                Name: '流程名称',
                Description: '说明',
                EcMailTemplate_GID: '邮件模板',
                FlowType: '流程类型',
                IsValid: '是否起效',
                CreateBy: '创建人',
                CreateDate: '创建日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期'
            };
            this.Expression = {};
        });

OA.EcWorkFlowAndDepartmentInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcWorkFlowAndDepartmentInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcWorkFlowAndDepartment";
            this.Fields = {
                GID: '主健',
                EcWorkFlowID_GID: '流程编号',
                DepartmentId: '部门编号',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期',
                IsDelete: '是否删除'
            };
            this.Expression = {};
        });

OA.EcWorkFlowConditionInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcWorkFlowConditionInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcWorkFlowCondition";
            this.Fields = {
                ID: '标识',
                GID: '主键',
                Name: 'Name',
                WorkFlowType: '表单流程类型',
                EcWorkFlow_GID: '流程GID',
                SqlCondition: 'SQL条件'
            };
            this.Expression = {};
        });

OA.EcWorkFlowUnitInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcWorkFlowUnitInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcWorkFlowUnit";
            this.Fields = {
                GID: '主健',
                ID: '标识',
                Code: '步骤编号',
                Name: '流程步骤名',
                Description: '步骤说明',
                NormalHours: '一般处理时间',
                UrgentHours: '紧急处理时间',
                PushFrequency: '推送频率',
                PGID: '父级ID',
                PreviousGID: '前一个步骤',
                EcWorkFlowID_GID: '对应的流程',
                ApproveLevel: '签核人等级',
                OrderBy: '序号',
                CreateBy: '创建人',
                CreateDate: '创建日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期',
                MdListDepartment_GID: '部门',
                IsOwnDepartment: '是否部门内部步骤',
                DepartMentUserType: '查找人员模式'
            };
            this.Expression = {};
        });

OA.EcWorkFlowUnitFileInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EcWorkFlowUnitFileInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EcWorkFlowUnitFile";
            this.Fields = {
                GID: '主健',
                ID: '标识',
                EcWorkUnitID_GID: '流程步骤',
                FileName: '文件名',
                FilePath: '文件路径',
                FileDescription: '文件说明',
                IsNecessary: '是否必须',
                OrderBy: 'OrderBy',
                CreateBy: '创建人',
                CreateDate: '创建日期',
                LastEditBy: '最后更新人',
                LastEditDt: '最后更新日期'
            };
            this.Expression = {};
        });

OA.EnclosureInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EnclosureInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Enclosure";
            this.Fields = {
                ID: 'ID',
                EnclosureName: 'enclosureName',
                EnclosureFileName: 'enclosureFileName',
                Emptid: 'emptid',
                Uptime: 'uptime',
                Enclosuretype: 'enclosuretype',
                Remark: 'remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.EnclosureTypeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.EnclosureTypeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "EnclosureType";
            this.Fields = {
                Id: 'id',
                EnclosuretypeName: 'enclosuretypeName',
                Remark: 'remark'
            };
            this.Expression = {};
        });

OA.FrmAreaInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmAreaInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmArea";
            this.Fields = {
                ID: 'ID',
                ZipCode: 'ZipCode',
                AreaName: 'AreaName',
                CityID: 'CityID'
            };
            this.Expression = {};
        });

OA.FrmCityInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmCityInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmCity";
            this.Fields = {
                ID: 'ID',
                ZipCode: 'ZipCode',
                CityName: 'CityName',
                ProvinceID: 'ProvinceID',
                LastEditDate: 'LastEditDate',
                Lasteditby: 'lasteditby',
                Createby: 'createby',
                Createdate: 'createdate',
                Createdate23: 'createdate23',
                Createdate844: 'createdate844'
            };
            this.Expression = {};
        });

OA.FrmCommunicationCompanyInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmCommunicationCompanyInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmCommunicationCompany";
            this.Fields = {
                FrmCommunicationCompany_ID: 'FrmCommunicationCompany_ID',
                CompanyName: 'CompanyName',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmCompanyInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmCompanyInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmCompany";
            this.Fields = {
                FrmCompany_ID: 'FrmCompany_ID',
                CompanyName: 'CompanyName',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmDepartmentPhoneInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmDepartmentPhoneInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmDepartmentPhone";
            this.Fields = {
                FrmDepartmentPhone_ID: 'FrmDepartmentPhone_ID',
                DepartmentID: 'DepartmentID',
                Remark: 'Remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                FrmPhone_ID: 'FrmPhone_ID'
            };
            this.Expression = {};
        });

OA.FrmExtOperateInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmExtOperateInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmExtOperate";
            this.Fields = {
                ID: 'ID',
                MenuID: 'MenuID',
                OperateName: 'OperateName',
                OperateCode: 'OperateCode',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmLoginlogInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmLoginlogInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmLoginlog";
            this.Fields = {
                ID: 'ID',
                Account: 'Account',
                IP: 'IP',
                LoginDate: 'LoginDate'
            };
            this.Expression = {};
        });

OA.FrmMenuInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmMenuInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmMenu";
            this.Fields = {
                ID: 'ID',
                MenuName: 'MenuName',
                Description: 'Description',
                URL: 'URL',
                OperateList: 'OperateList',
                OrderBy: 'OrderBy',
                MenuPid: 'MenuPid',
                MenuLevel: 'MenuLevel',
                IsSystem: 'IsSystem',
                CreateBy: 'CreateBy',
                CreateDate: 'CreateDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmOnLineUserInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmOnLineUserInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmOnLineUser";
            this.Fields = {
                ID: 'ID',
                IP: 'IP',
                Account: 'Account',
                UserName: 'UserName',
                DepartmentId: 'DepartmentId',
                DeptName: 'DeptName',
                FirstLogTime: 'FirstLogTime',
                LastLogTime: 'LastLogTime'
            };
            this.Expression = {};
        });

OA.FrmOperatorInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmOperatorInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmOperator";
            this.Fields = {
                FrmOperator_ID: 'FrmOperator_ID',
                OperatorName: 'OperatorName',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmPhoneInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmPhoneInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmPhone";
            this.Fields = {
                FrmPhone_ID: 'FrmPhone_ID',
                PhoneNum: 'PhoneNum',
                FrmOperator_ID: 'FrmOperator_ID',
                Brand: 'Brand',
                RemainPoints: 'RemainPoints',
                FrmCommunicationCompany_ID: 'FrmCommunicationCompany_ID',
                FrmCompany_ID: 'FrmCompany_ID',
                Remark: 'Remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                DepartmentID: 'DepartmentID'
            };
            this.Expression = {};
        });

OA.FrmPhone_11172011011314000Info = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmPhone_11172011011314000Info.prototype = new BaseModel(
        function () {
            this.TableName = "FrmPhone_11172011011314000";
            this.Fields = {
                FrmPhone_ID: 'FrmPhone_ID',
                PhoneNum: 'PhoneNum',
                FrmOperator_ID: 'FrmOperator_ID',
                Brand: 'Brand',
                RemainPoints: 'RemainPoints',
                FrmCommunicationCompany_ID: 'FrmCommunicationCompany_ID',
                FrmCompany_ID: 'FrmCompany_ID',
                Remark: 'Remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmPhoneTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmPhoneTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmPhoneTrace";
            this.Fields = {
                FrmPhoneTrace_ID: 'FrmPhoneTrace_ID',
                Amount: 'Amount',
                BeginDate: 'BeginDate',
                EndDate: 'EndDate',
                Penalty: 'Penalty',
                Amount2: 'Amount2',
                Amount3: 'Amount3',
                Remark: 'Remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                FrmPhone_ID: 'FrmPhone_ID'
            };
            this.Expression = {};
        });

OA.FrmProvinceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmProvinceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmProvince";
            this.Fields = {
                ID: 'ID',
                ZipCode: 'ZipCode',
                Province: 'Province'
            };
            this.Expression = {};
        });

OA.FrmRecentMenuInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmRecentMenuInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmRecentMenu";
            this.Fields = {
                ID: 'ID',
                Account: 'Account',
                MenuID: 'MenuID',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmroleInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmroleInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Frmrole";
            this.Fields = {
                ID: 'ID',
                RoleName: 'RoleName',
                Description: 'Description',
                Type: 'type',
                IsSystem: 'IsSystem',
                IsValid: 'IsValid',
                DefaultPage: 'DefaultPage',
                IsSales: 'IsSales',
                CreateBy: 'CreateBy',
                CreateDate: 'CreateDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmRoleExtOperateInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmRoleExtOperateInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmRoleExtOperate";
            this.Fields = {
                ID: 'ID',
                RoleMenuID: 'RoleMenuID',
                OperateID: 'OperateID',
                LastEditBy: 'LastEditBy',
                LastEditDt: 'LastEditDt'
            };
            this.Expression = {};
        });

OA.FrmRoleMenuInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmRoleMenuInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmRoleMenu";
            this.Fields = {
                ID: 'ID',
                RoleID: 'RoleID',
                MenuID: 'MenuID',
                OperateList: 'OperateList',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmSysMsgInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmSysMsgInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmSysMsg";
            this.Fields = {
                ID: 'ID',
                MsgType: 'MsgType',
                MsgCode: 'MsgCode',
                Msg: 'Msg',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmuserInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmuserInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Frmuser";
            this.Fields = {
                ID: 'ID',
                Account: 'Account',
                UserName: 'UserName',
                EmpID: 'EmpID',
                Oldworkno: 'oldworkno',
                WorkNo: 'WorkNo',
                Password: 'Password',
                DepartmentId: 'DepartmentId',
                CompanyID: 'CompanyID',
                UserLevel: 'UserLevel',
                Title: 'Title',
                HomePhone: 'homePhone',
                Mobile: 'Mobile',
                Phone: 'Phone',
                Mail: 'Mail',
                EnableMultiLogin: '是否允许多人登录',
                ExpiringDate: 'ExpiringDate',
                IsSystem: 'IsSystem',
                IsValid: 'IsValid',
                CreateBy: 'CreateBy',
                CreateDate: 'CreateDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                LoginTimes: 'LoginTimes',
                LastLoginIP: '最近登录IP',
                LastLoginDate: 'LastLoginDate',
                LastModifyPasswordTime: '最近修改密码时间',
                MaxSmsNum: 'MaxSmsNum',
                MinSmsNum: 'MinSmsNum'
            };
            this.Expression = {};
        });

OA.FrmUserPhoneInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmUserPhoneInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmUserPhone";
            this.Fields = {
                FrmUserPhone_ID: 'FrmUserPhone_ID',
                UserID: 'UserID',
                Remark: 'Remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                FrmPhone_ID: 'FrmPhone_ID'
            };
            this.Expression = {};
        });

OA.FrmUserRoleInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmUserRoleInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmUserRole";
            this.Fields = {
                ID: 'ID',
                UserID: 'UserID',
                RoleID: 'RoleID',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.FrmUserValidInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.FrmUserValidInfo.prototype = new BaseModel(
        function () {
            this.TableName = "FrmUserValid";
            this.Fields = {
                ID: 'ID',
                Account: 'Account',
                UserName: 'UserName',
                IsValid: 'IsValid',
                DepartmentID: 'DepartmentID'
            };
            this.Expression = {};
        });

OA.HrAddressInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrAddressInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrAddress";
            this.Fields = {
                Id: 'id',
                EmpNo: 'empNo',
                Value: 'Value',
                AddressType: 'AddressType',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.HrComputerInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrComputerInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrComputer";
            this.Fields = {
                ID: '员工号',
                AssetCode: 'AssetCode',
                IP: 'IP',
                Mac: 'Mac',
                ComputerName: 'ComputerName',
                LastEditBy: '建立人',
                LastEditDate: '建立时间'
            };
            this.Expression = {};
        });

OA.HrComputerRightInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrComputerRightInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrComputerRight";
            this.Fields = {
                ID: '员工号',
                ComputerID: 'ComputerID',
                RightID: 'RightID',
                OpenStatus: 'OpenStatus',
                LastEditBy: '建立人',
                LastEditDate: '建立时间'
            };
            this.Expression = {};
        });

OA.HrDoorFingerInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrDoorFingerInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrDoorFinger";
            this.Fields = {
                ID: '员工号',
                EmployeeID: 'EmployeeID',
                DoorPlace: 'DoorPlace',
                Number: 'Number',
                LastEditBy: '建立人',
                LastEditDate: '建立时间'
            };
            this.Expression = {};
        });

OA.HrEmployeeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrEmployeeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrEmployee";
            this.Fields = {
                ID: 'ID',
                WorkNo: 'WorkNo',
                DepartmentID: 'DepartmentID',
                EmployeeName: 'EmployeeName',
                Telephone: 'Telephone',
                Gender: 'Gender',
                Post: 'Post',
                AdRank: 'AdRank',
                Birthday: 'Birthday',
                FamilyAddress: 'FamilyAddress',
                IDCode: 'IDCode',
                Politics: 'Politics',
                Marriage: 'Marriage',
                GraduateSchool: 'GraduateSchool',
                Profession: 'Profession',
                GraduateTime: 'GraduateTime',
                StudyType: 'StudyType',
                Degree: 'Degree',
                Picture: 'Picture',
                PictureName: 'PictureName',
                EmployKind: 'EmployKind',
                TechnicalPost: 'TechnicalPost',
                TechnicalPostDate: 'TechnicalPostDate',
                EmployeeType: 'EmployeeType',
                WorkType: 'WorkType',
                WorkHereDate: 'WorkHereDate',
                LeaveHereDate: 'LeaveHereDate',
                ForeignLanguageKind: 'ForeignLanguageKind',
                ForeignLanguageLevel: 'ForeignLanguageLevel',
                ComputerLevel: 'ComputerLevel',
                DrivingLicense: 'DrivingLicense',
                IsHealthLicense: 'IsHealthLicense',
                HealthLicenseExpireDate: 'HealthLicenseExpireDate',
                BloodType: 'BloodType',
                HealthState: 'HealthState',
                Email: 'Email',
                BankName: 'BankName',
                BankAccount: 'BankAccount',
                IsSystemUser: 'IsSystemUser',
                CreateDate: 'CreateDate',
                Remark: 'Remark',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                UrgencyName: 'UrgencyName',
                UrgencyTel: 'UrgencyTel',
                Remuneration: 'Remuneration',
                NowAddress: 'NowAddress',
                Achievement: 'Achievement',
                Nationality: 'Nationality',
                BirthPlace: 'BirthPlace',
                FamilyType: 'FamilyType',
                SystemAccount: 'SystemAccount'
            };
            this.Expression = {};
        });

OA.HrEmployeeFamilyInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrEmployeeFamilyInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrEmployeeFamily";
            this.Fields = {
                HrEmployeeFamilyId: 'hrEmployeeFamilyId',
                HrEmployeeId: 'HrEmployeeId',
                RelationRemark: 'RelationRemark',
                RelationName: 'RelationName',
                CompanyName: 'CompanyName',
                Telphone: 'Telphone',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.HrEmployeeLearningInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrEmployeeLearningInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrEmployeeLearning";
            this.Fields = {
                HrEmployeeLearningId: 'hrEmployeeLearningId',
                HrEmployeeId: 'HrEmployeeId',
                LearningBeginTime: 'LearningBeginTime',
                LearningEndTime: 'LearningEndTime',
                SchoolName: 'SchoolName',
                Specialty: 'Specialty',
                Education: 'Education',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.HrEmployeeTraceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrEmployeeTraceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrEmployeeTrace";
            this.Fields = {
                HrEmployeeTraceId: 'HrEmployeeTraceId',
                HrEmployeeId: 'HrEmployeeId',
                DepartmentID: 'DepartmentID',
                AdRank: 'AdRank',
                Remuneration: 'Remuneration',
                WorkType: 'WorkType',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                Achievement: 'Achievement'
            };
            this.Expression = {};
        });

OA.HrEmployeeTraceEnclosureInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrEmployeeTraceEnclosureInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrEmployeeTraceEnclosure";
            this.Fields = {
                HrEmployeeTraceEnclosureId: 'HrEmployeeTraceEnclosureId',
                HrEmployeeTraceId: 'HrEmployeeTraceId',
                MdListValue: 'MdListValue',
                EnclosureName: 'EnclosureName',
                LastEditby: 'LastEditby',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.HrEmployeeWorkInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrEmployeeWorkInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrEmployeeWork";
            this.Fields = {
                HrEmployeeWorkId: 'hrEmployeeWorkId',
                HrEmployeeId: 'HrEmployeeId',
                WorkBeginTime: 'WorkBeginTime',
                WorkEndTime: 'WorkEndTime',
                CompanyName: 'CompanyName',
                AdRankName: 'AdRankName',
                Telphone: 'Telphone',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.HrLeaverInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrLeaverInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrLeaver";
            this.Fields = {
                ID: 'ID',
                WorkNo: '员工编码',
                EmployeeName: '中文姓名',
                Department: 'Department',
                EmployeeKind: '雇用性质',
                Post: 'Post',
                WorkType: '在职状态',
                WorkHereDate: '开始工作时间',
                LeaveHereDate: '保存离职日期或退休日期或内退日期',
                Remark: 'Remark',
                LastEditBy: '建立人',
                LastEditDate: '建立时间'
            };
            this.Expression = {};
        });

OA.HrPhoneInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrPhoneInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrPhone";
            this.Fields = {
                Id: 'id',
                EmpNo: 'empNo',
                Value: 'Value',
                PhoneType: 'PhoneType',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.HrTransferInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.HrTransferInfo.prototype = new BaseModel(
        function () {
            this.TableName = "HrTransfer";
            this.Fields = {
                ID: '员工号',
                WorkNo: '员工编码',
                EmployeeName: '中文姓名',
                EmployeeKind: '雇用性质',
                EmployeeType: '员工类别',
                Department: 'Department',
                Post: '职位',
                NewDepartment: 'NewDepartment',
                NewPost: 'NewPost',
                TransferDate: 'TransferDate',
                Remark: 'Remark',
                LastEditBy: '建立人',
                LastEditDate: '建立时间'
            };
            this.Expression = {};
        });

OA.InfoBulletinInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.InfoBulletinInfo.prototype = new BaseModel(
        function () {
            this.TableName = "InfoBulletin";
            this.Fields = {
                ID: 'ID',
                BulletinType: 'BulletinType',
                BulletinFrom: 'BulletinFrom',
                Title: 'Title',
                Content: 'Content',
                PublishDate: 'PublishDate',
                PublishDeptID: 'PublishDeptID',
                Author: 'Author',
                ClickNum: 'ClickNum',
                Effectivetime: 'Effectivetime',
                Deadtime: 'Deadtime',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.InfoBulletinRightInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.InfoBulletinRightInfo.prototype = new BaseModel(
        function () {
            this.TableName = "InfoBulletinRight";
            this.Fields = {
                ID: 'ID',
                BulletinID: 'BulletinID',
                ReadDeptID: 'ReadDeptID',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.InfoBulletinTypeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.InfoBulletinTypeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "InfoBulletinType";
            this.Fields = {
                ID: 'ID',
                ParentID: 'ParentID',
                OrganID: 'OrganID',
                TypeName: 'TypeName',
                OrderBy: 'OrderBy',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.InfoResearchInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.InfoResearchInfo.prototype = new BaseModel(
        function () {
            this.TableName = "InfoResearch";
            this.Fields = {
                ID: 'ID',
                ResearchType: 'ResearchType',
                Research: 'Research',
                Title: 'Title',
                Isvalid: 'isvalid',
                PublishDate: 'PublishDate',
                PublishDeptID: 'PublishDeptID',
                Publisher: 'Publisher',
                Effectivetime: 'Effectivetime',
                Deadtime: 'Deadtime',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.InfoResearchIPInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.InfoResearchIPInfo.prototype = new BaseModel(
        function () {
            this.TableName = "InfoResearchIP";
            this.Fields = {
                ID: 'ID',
                ResearchID: 'ResearchID',
                IP: 'IP',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.InfoResearchItemInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.InfoResearchItemInfo.prototype = new BaseModel(
        function () {
            this.TableName = "InfoResearchItem";
            this.Fields = {
                ID: 'ID',
                ResearchID: 'ResearchID',
                Item: 'Item',
                ItemType: 'ItemType',
                SelectedNum: 'SelectedNum',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.InfoResearchPaperInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.InfoResearchPaperInfo.prototype = new BaseModel(
        function () {
            this.TableName = "InfoResearchPaper";
            this.Fields = {
                ID: 'ID',
                Title: 'Title',
                Publishdate: 'publishdate',
                PublishDeptID: 'PublishDeptID',
                PublishAccount: 'PublishAccount',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.LogcapAssetInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.LogcapAssetInfo.prototype = new BaseModel(
        function () {
            this.TableName = "LogcapAsset";
            this.Fields = {
                ID: 'ID',
                CaseType: 'CaseType',
                Account: 'Account',
                OldStatus: 'OldStatus',
                Status: 'Status',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.LogDoorFingerInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.LogDoorFingerInfo.prototype = new BaseModel(
        function () {
            this.TableName = "LogDoorFinger";
            this.Fields = {
                ID: 'ID',
                EmployeeID: 'EmployeeID',
                DoorPlace: 'DoorPlace',
                Number: 'Number',
                Actions: '1:add;2:delete',
                Remark: 'Remark',
                LastEditBy: '建立人',
                LastEditDate: '建立时间'
            };
            this.Expression = {};
        });

OA.LogProviderInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.LogProviderInfo.prototype = new BaseModel(
        function () {
            this.TableName = "LogProvider";
            this.Fields = {
                ID: 'ID',
                BatchID: '操作批次号',
                ProviderID: '供应商主键ID',
                FieldName: '字段名称',
                OriginalValue: '更改前的值',
                NewValue: '更改后的值',
                LastEditBy: '最后更新人',
                LastEditDate: '最后更新日期'
            };
            this.Expression = {};
        });

OA.LoguserInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.LoguserInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Loguser";
            this.Fields = {
                ID: 'ID',
                CaseType: 'CaseType',
                Account: 'Account',
                OldStatus: 'OldStatus',
                Status: 'Status',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdCategoryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdCategoryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdCategory";
            this.Fields = {
                ID: 'ID',
                Category: 'Category',
                OrganID: 'OrganID',
                Type: 'Type',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                Msrepl_tran_version: 'msrepl_tran_version'
            };
            this.Expression = {};
        });

OA.MdCurrentOrderNoInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdCurrentOrderNoInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdCurrentOrderNo";
            this.Fields = {
                Id: 'id',
                DepartCode: 'DepartCode',
                CurNo: 'CurNo',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdDepartmentInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdDepartmentInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdDepartment";
            this.Fields = {
                ID: 'ID',
                ParentID: 'ParentID',
                RootID: 'RootID',
                OrganID: 'OrganID',
                DepartCode: 'DepartCode',
                DepartName: 'DepartName',
                DepartType: 'DepartType',
                Description: 'Description',
                CompanyID: '1:;2:伊然美;',
                IsSales: '是否销售部门',
                IsAchievement: '是否统计每日业绩',
                Sort: 'Sort',
                IsDelete: '是否删除',
                IsBonus: '是否走系统计算提成',
                IsReality: '是否真实部门',
                IsCluster: 'IsCluster',
                IsSync: '是否同步',
                DepartPicture: '部门形象图片',
                MinSmsNum: '最小短信条数',
                MaxSmsNum: '最大短信条数',
                PositionLevel: '岗位等级',
                Manager: '岗位负责人',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdDepartment_backInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdDepartment_backInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdDepartment_back";
            this.Fields = {
                ID: 'ID',
                ParentID: 'ParentID',
                RootID: 'RootID',
                OrganID: 'OrganID',
                DepartCode: 'DepartCode',
                DepartName: 'DepartName',
                DepartType: 'DepartType',
                Description: 'Description',
                CompanyID: 'CompanyID',
                IsSales: 'IsSales',
                IsAchievement: 'IsAchievement',
                Sort: 'Sort',
                IsDelete: 'IsDelete',
                IsBonus: 'IsBonus',
                IsReality: 'IsReality',
                Issync: 'Issync',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdDepartment_okInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdDepartment_okInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdDepartment_ok";
            this.Fields = {
                ID: 'ID',
                ParentID: 'ParentID',
                RootID: 'RootID',
                OrganID: 'OrganID',
                DepartCode: 'DepartCode',
                DepartName: 'DepartName',
                DepartType: 'DepartType',
                Description: 'Description',
                CompanyID: 'CompanyID',
                IsSales: 'IsSales',
                IsAchievement: 'IsAchievement',
                Sort: 'Sort',
                IsDelete: 'IsDelete',
                IsBonus: 'IsBonus',
                IsReality: 'IsReality',
                IsCluster: 'IsCluster',
                IsSync: 'IsSync',
                DepartPicture: 'DepartPicture',
                MinSmsNum: 'MinSmsNum',
                MaxSmsNum: 'MaxSmsNum',
                PostionLevel: 'PostionLevel',
                Manager: 'Manager',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdDomainNameInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdDomainNameInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdDomainName";
            this.Fields = {
                ID: 'ID',
                DomainName: 'DomainName',
                Company: 'Company',
                JAddress: 'JAddress',
                Account: 'Account',
                Password: 'Password',
                IsRight: 'IsRight',
                ISRecord: 'ISRecord',
                RequistDate: 'RequistDate',
                ExceedDate: 'ExceedDate',
                RegisterCompany: 'RegisterCompany',
                Remark: 'Remark',
                IP: 'IP',
                ResolveUrl: 'ResolveUrl',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdDomainName2Info = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdDomainName2Info.prototype = new BaseModel(
        function () {
            this.TableName = "MdDomainName2";
            this.Fields = {
                ID: 'ID',
                DomainName: 'DomainName',
                Account: 'Account',
                JAddress: 'JAddress',
                Password: 'Password',
                IsRight: 'IsRight',
                ISRecord: 'ISRecord',
                RequistDate: 'RequistDate',
                ExceedDate: 'ExceedDate'
            };
            this.Expression = {};
        });

OA.MdDomainName3Info = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdDomainName3Info.prototype = new BaseModel(
        function () {
            this.TableName = "MdDomainName3";
            this.Fields = {
                ID: 'ID',
                DomainName: 'DomainName',
                Account: 'Account',
                JAddress: 'JAddress',
                Password: 'Password',
                IsRight: 'IsRight',
                ISRecord: 'ISRecord',
                RequistDate: 'RequistDate',
                ExceedDate: 'ExceedDate'
            };
            this.Expression = {};
        });

OA.MdFtpPasswordInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdFtpPasswordInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdFtpPassword";
            this.Fields = {
                Id: 'id',
                ServerIP: 'ServerIP',
                PassWord: 'PassWord',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdIconInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdIconInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdIcon";
            this.Fields = {
                Id: 'id',
                IconName: 'IconName',
                IconPath: 'IconPath',
                LastEditby: 'LastEditby',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdIconExtensionInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdIconExtensionInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdIconExtension";
            this.Fields = {
                ID: 'ID',
                FileIcon: 'FileIcon',
                ExtensionName: 'ExtensionName',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdListInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdListInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdList";
            this.Fields = {
                Id: 'id',
                Type: 'type',
                Text: 'text',
                Value: 'value',
                Remark: 'remark',
                Orderby: 'orderby',
                Lasteditby: 'lasteditby',
                Lasteditdate: 'lasteditdate'
            };
            this.Expression = {};
        });

OA.MdListTypeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdListTypeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdListType";
            this.Fields = {
                Id: 'id',
                Text: 'text',
                Value: 'value',
                Remark: 'remark',
                Lasteditby: 'lasteditby',
                Lasteditdate: 'lasteditdate'
            };
            this.Expression = {};
        });

OA.MdMailTemplateInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdMailTemplateInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdMailTemplate";
            this.Fields = {
                ID: 'ID',
                TemplateName: 'TemplateName',
                Subject: 'Subject',
                FromName: 'FromName',
                Body: 'Body',
                CreateBy: 'CreateBy',
                CreateDate: 'CreateDate',
                LastEditBy: 'LastEditBy',
                LastEditDt: 'LastEditDt'
            };
            this.Expression = {};
        });

OA.MdOrderNoInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdOrderNoInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdOrderNo";
            this.Fields = {
                Id: 'id',
                NO: 'NO',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                Msrepl_tran_version: 'msrepl_tran_version'
            };
            this.Expression = {};
        });

OA.MdOrderStatusInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdOrderStatusInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdOrderStatus";
            this.Fields = {
                ID: 'ID',
                StatusCode: 'StatusCode',
                StatusName: 'StatusName',
                ActionName: 'ActionName',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdOrderStatusRelationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdOrderStatusRelationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdOrderStatusRelation";
            this.Fields = {
                ID: 'ID',
                TableName: 'TableName',
                CurrentStatus: 'CurrentStatus',
                QueryStatus: 'QueryStatus',
                BrotherStatus: 'BrotherStatus',
                OperateName: 'OperateName',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdPublishSystemInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdPublishSystemInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdPublishSystem";
            this.Fields = {
                ID: 'ID',
                SystemName: 'SystemName',
                DataSource: 'DataSource',
                DBName: 'DBName',
                UserID: 'UserID',
                Password: 'Password',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdRSPasswordInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdRSPasswordInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdRSPassword";
            this.Fields = {
                Id: 'id',
                ServerIP: 'ServerIP',
                PassWord: 'PassWord',
                PortNumber: 'PortNumber',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdTableStatusInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdTableStatusInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdTableStatus";
            this.Fields = {
                ID: 'ID',
                TableName: 'TableName',
                AvailableStatus: 'AvailableStatus',
                SyncStatus: 'SyncStatus',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.MdWorkSpaceInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.MdWorkSpaceInfo.prototype = new BaseModel(
        function () {
            this.TableName = "MdWorkSpace";
            this.Fields = {
                Id: 'Id',
                ControlID: 'ControlID',
                Description: 'Description',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.PdfDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PdfDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "PdfDetail";
            this.Fields = {
                Id: 'Id',
                Pname: 'Pname',
                Pfilename: 'Pfilename',
                Premark: 'Premark',
                LastEditby: 'LastEditby',
                LastEditDate: 'LastEditDate',
                Typeid: 'typeid'
            };
            this.Expression = {};
        });

OA.PermDepartProductInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermDepartProductInfo.prototype = new BaseModel(
        function () {
            this.TableName = "PermDepartProduct";
            this.Fields = {
                ID: 'ID',
                Departmentid: 'Departmentid',
                ProductID: 'ProductID',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.PermDepartProductPartInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermDepartProductPartInfo.prototype = new BaseModel(
        function () {
            this.TableName = "PermDepartProductPart";
            this.Fields = {
                ID: 'ID',
                Departmentid: 'Departmentid',
                ProductPartID: 'ProductPartID',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                Msrepl_tran_version: 'msrepl_tran_version'
            };
            this.Expression = {};
        });

OA.PermProductTypeAndStarInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermProductTypeAndStarInfo.prototype = new BaseModel(
        function () {
            this.TableName = "PermProductTypeAndStar";
            this.Fields = {
                ID: 'ID',
                ProductID: 'ProductID',
                ProductType: 'ProductType',
                ProductStar: 'ProductStar',
                LastEditBy: 'LastEditBy',
                LastEditdate: 'LastEditdate'
            };
            this.Expression = {};
        });

OA.PermuserdepartmentInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermuserdepartmentInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Permuserdepartment";
            this.Fields = {
                ID: 'ID',
                Account: 'Account',
                DepartmentId: 'DepartmentId',
                ActionType: 'ActionType',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.PermUserGoodsInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermUserGoodsInfo.prototype = new BaseModel(
        function () {
            this.TableName = "PermUserGoods";
            this.Fields = {
                ID: 'ID',
                Account: 'Account',
                GoodsID: 'GoodsID',
                ActionType: 'ActionType',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.PermuserloginipInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermuserloginipInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Permuserloginip";
            this.Fields = {
                ID: 'ID',
                Account: 'Account',
                IP: 'IP',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.PermuserrelationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermuserrelationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Permuserrelation";
            this.Fields = {
                ID: 'ID',
                CurrentAccount: 'CurrentAccount',
                ControlAccount: 'ControlAccount',
                Type: 'Type',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.PermUserTelphoneInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermUserTelphoneInfo.prototype = new BaseModel(
        function () {
            this.TableName = "PermUserTelphone";
            this.Fields = {
                PermUserTelphoneId: 'PermUserTelphoneId',
                UserId: 'UserId',
                Telphone: 'Telphone',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.PermuserwarehouseInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermuserwarehouseInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Permuserwarehouse";
            this.Fields = {
                ID: 'ID',
                Account: 'Account',
                Warehousecode: 'warehousecode',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.PermWarehouseRelationsInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.PermWarehouseRelationsInfo.prototype = new BaseModel(
        function () {
            this.TableName = "PermWarehouseRelations";
            this.Fields = {
                IDD: 'IDD',
                Id: 'id',
                DictWarehouseCode: 'DictWarehouseCode',
                Relationer: 'Relationer',
                Type: 'Type',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.ProductInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.ProductInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Product";
            this.Fields = {
                Produce_ID: 'Produce_ID',
                Model: 'Model',
                Spell: 'Spell',
                Size: 'Size',
                Capacity: 'Capacity',
                Weight: 'Weight',
                Color: 'Color',
                PackageQuantity: 'PackageQuantity',
                Package: 'Package',
                Dosage: 'Dosage',
                Property: 'Property',
                RetailPrice: 'RetailPrice',
                PresentPrice: 'PresentPrice',
                PromotionalPrice: 'PromotionalPrice',
                OrderBy: 'OrderBy',
                PriceChoose: 'PriceChoose',
                IsValid: 'IsValid',
                BarCode: 'BarCode',
                IsDiscount: 'IsDiscount',
                Goods_sn: 'goods_sn',
                PackName: 'packName',
                Trademark: 'trademark',
                Goods_brief: 'goods_brief',
                Goods_manual: 'goods_manual',
                Goods_img: 'goods_img',
                Goods_desc: 'goods_desc',
                Goods_thumb: 'goods_thumb',
                Producttype: 'producttype',
                IsDisplay: 'IsDisplay',
                BatchNumber: 'BatchNumber',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                ImgBanner: 'ImgBanner',
                ImgList: 'ImgList',
                MainImage: 'MainImage',
                ReduceImage: 'ReduceImage',
                Star: 'Star',
                ProductUrl: 'ProductUrl',
                ProductKey: 'ProductKey',
                IsNewShelves: 'IsNewShelves',
                Points: 'Points',
                LightPoints: 'LightPoints',
                ProductID: 'ProductID',
                Commission_ID: 'Commission_ID',
                PartProduct: 'PartProduct',
                ExchangePoints: 'ExchangePoints',
                ExchangeLevel: 'ExchangeLevel',
                Goods_img2: 'goods_img2',
                Goods_img3: 'goods_img3',
                Goods_img4: 'goods_img4',
                IMGGift: 'IMGGift',
                IsShowCount: 'IsShowCount',
                Rowguid: 'rowguid'
            };
            this.Expression = {};
        });

OA.ProductDepartRelationInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.ProductDepartRelationInfo.prototype = new BaseModel(
        function () {
            this.TableName = "ProductDepartRelation";
            this.Fields = {
                ID: 'ID',
                ProductID: 'ProductID',
                DepartmentID: 'DepartmentID',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.ReleaseInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.ReleaseInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Release";
            this.Fields = {
                Id: 'id',
                Title: 'title',
                ReleaseContent: 'releaseContent',
                ReleaseTime: 'releaseTime',
                ReleaseType: 'releaseType',
                Userid: 'userid',
                Remark: 'remark',
                Iseffective: 'iseffective',
                LastEditDate: 'lastEditDate',
                ReleaseDate: 'releaseDate',
                Isrelease: 'isrelease'
            };
            this.Expression = {};
        });

OA.RepDailyInventoryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.RepDailyInventoryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "RepDailyInventory";
            this.Fields = {
                ID: 'ID',
                StatisticDate: 'StatisticDate',
                GoodsID: 'GoodsID',
                GoodsName: 'GoodsName',
                Model: 'Model',
                Unit: 'Unit',
                DayInitInventory: '日初库存量',
                InQuantity: '进仓数量',
                ReturnInQuantity: '退货进仓数量',
                OutQuantity: '出仓数量',
                ReturnOutQuantity: '退货发出数量',
                ToShipQuantity: 'ToShipQuantity',
                DayInventory: '本日库存量',
                IsValid: 'IsValid',
                Remark: 'Remark',
                OperateCode: 'OperateCode',
                OperateDate: 'OperateDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.RepWarehouseInventoryInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.RepWarehouseInventoryInfo.prototype = new BaseModel(
        function () {
            this.TableName = "RepWarehouseInventory";
            this.Fields = {
                ID: 'ID',
                StatisticDate: 'StatisticDate',
                GoodsID: 'GoodsID',
                WarehouseNO: 'WarehouseNO',
                DayInitInventory: '日初库存量',
                InQuantity: '进仓数量',
                ReturnInQuantity: '退货进仓数量',
                ToShipQuantity: 'ToShipQuantity',
                OutQuantity: '出仓数量',
                ReturnOutQuantity: '退货发出数量',
                DayInventory: '本日库存量',
                OperateDate: 'OperateDate',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.SalesExceptionInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.SalesExceptionInfo.prototype = new BaseModel(
        function () {
            this.TableName = "SalesException";
            this.Fields = {
                ID: 'ID',
                ExceptionType: 'ExceptionType',
                PackageNo: 'PackageNo',
                NewPackageNo: 'NewPackageNo',
                Amount: 'Amount',
                Cause: 'Cause',
                OldWorkno: 'OldWorkno',
                NewWorkno: 'NewWorkno',
                Status: '状态;1:新资料;2:已提交;3:已回复;4:已删除',
                Salesstaff: '销售员账号',
                DepartmentID: '销售员所对应部门',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                Reply: 'reply',
                SubmitDate: 'SubmitDate'
            };
            this.Expression = {};
        });

OA.TestAAInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TestAAInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TestAA";
            this.Fields = {
                ID: 'ID',
                Name: 'Name'
            };
            this.Expression = {};
        });

OA.TrAnswerInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrAnswerInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrAnswer";
            this.Fields = {
                Id: 'id',
                Questionid: 'questionid',
                Answer: 'answer',
                IsTrue: 'isTrue',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.TrDocTypeInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrDocTypeInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrDocType";
            this.Fields = {
                ID: 'ID',
                ParentID: 'ParentID',
                OrganID: 'OrganID',
                TypeName: 'TypeName',
                OrderBy: 'OrderBy',
                IconPath: 'IconPath',
                DocType: 'DocType',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.TrExamInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrExamInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrExam";
            this.Fields = {
                ID: 'ID',
                PaperID: 'PaperID',
                BeginTime: 'BeginTime',
                EndTime: 'EndTime',
                TotalTime: 'TotalTime',
                ExamScore: 'ExamScore',
                ExamResult: 'ExamResult',
                ExamDeptID: 'ExamDeptID',
                ExamAccount: 'ExamAccount',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.TrExamDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrExamDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrExamDetail";
            this.Fields = {
                ID: 'ID',
                ExamID: 'ExamID',
                Questionid: 'Questionid',
                QuestiontypeSort: 'QuestiontypeSort',
                QuestionSort: 'QuestionSort',
                ExamScore: 'ExamScore',
                QuestionResult: 'QuestionResult',
                Remark: 'Remark',
                ExamDeptID: 'ExamDeptID',
                ExamAccount: 'ExamAccount',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.TrExamResultInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrExamResultInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrExamResult";
            this.Fields = {
                ID: 'ID',
                ExamID: 'ExamID',
                QuestionID: 'QuestionID',
                AnswerID: 'AnswerID',
                AnswerSort: 'AnswerSort',
                Answer: 'Answer',
                ExamDeptID: 'ExamDeptID',
                ExamAccount: 'ExamAccount',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.TrLectureInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrLectureInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrLecture";
            this.Fields = {
                ID: 'ID',
                DocType: 'DocType',
                Title: 'Title',
                KeyWords: 'KeyWords',
                Abstract: 'Abstract',
                Content: 'Content',
                PublishDate: 'PublishDate',
                PublishDeptID: 'PublishDeptID',
                PublishAccount: 'PublishAccount',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.TrLectureDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrLectureDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrLectureDetail";
            this.Fields = {
                ID: 'ID',
                LectureID: 'LectureID',
                LectureName: 'LectureName',
                LectureType: 'LectureType',
                NewPath: 'NewPath',
                OriginalPath: 'OriginalPath',
                Remark: 'Remark',
                ClickNum: 'ClickNum',
                PublishDate: 'PublishDate',
                PublishDeptID: 'PublishDeptID',
                PublishAccount: 'PublishAccount'
            };
            this.Expression = {};
        });

OA.TrLectureReadInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrLectureReadInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrLectureRead";
            this.Fields = {
                ID: 'ID',
                LectureID: 'LectureID',
                LectureDetailID: 'LectureDetailID',
                ReadDeptID: 'ReadDeptID',
                ReadAccount: 'ReadAccount',
                ReadDate: 'ReadDate'
            };
            this.Expression = {};
        });

OA.TrLectureRightInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrLectureRightInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrLectureRight";
            this.Fields = {
                ID: 'ID',
                LectureID: 'LectureID',
                ReadDeptID: 'ReadDeptID',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.TrNewspaperInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrNewspaperInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrNewspaper";
            this.Fields = {
                ID: 'ID',
                Title: 'Title',
                Author: 'Author',
                ClickNum: 'ClickNum',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.TrNewspaperDetailInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrNewspaperDetailInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrNewspaperDetail";
            this.Fields = {
                ID: 'ID',
                NewspaperID: 'NewspaperID',
                Content: 'Content',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate'
            };
            this.Expression = {};
        });

OA.TrNewspaperReviewInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrNewspaperReviewInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrNewspaperReview";
            this.Fields = {
                ID: 'ID',
                ReviewID: 'ReviewID',
                Review: 'Review',
                LastEditBy: 'LastEditBy',
                LastEditDate: 'LastEditDate',
                Status: 'Status'
            };
            this.Expression = {};
        });

OA.TrPaperInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrPaperInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrPaper";
            this.Fields = {
                ID: 'ID',
                Title: 'Title',
                BeginTime: 'BeginTime',
                EndTime: 'EndTime',
                TotalTime: 'TotalTime',
                TotalScore: 'TotalScore',
                PassScore: 'PassScore',
                PublishDeptID: 'PublishDeptID',
                PublishAccount: 'PublishAccount',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.TrPaperResultInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrPaperResultInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrPaperResult";
            this.Fields = {
                ID: 'ID',
                PaperID: 'PaperID',
                Questionid: 'Questionid',
                QuestiontypeSort: 'QuestiontypeSort',
                Remark: 'Remark',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.TrPaperRightInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrPaperRightInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrPaperRight";
            this.Fields = {
                ID: 'ID',
                PaperID: 'PaperID',
                ExamDeptID: 'examDeptID',
                ExamAccount: 'examAccount',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.TrQuestionInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.TrQuestionInfo.prototype = new BaseModel(
        function () {
            this.TableName = "TrQuestion";
            this.Fields = {
                Id: 'id',
                Title: 'title',
                Score: 'Score',
                Questioncategory: 'questioncategory',
                Questiontype: 'questiontype',
                Isvalid: 'isvalid',
                Lasteditby: 'lasteditby',
                Lasteditdate: 'lasteditdate'
            };
            this.Expression = {};
        });

OA.WalletInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.WalletInfo.prototype = new BaseModel(
        function () {
            this.TableName = "Wallet";
            this.Fields = {
                Id: 'id',
                Empid: 'empid',
                Score: 'score',
                Level: 'level',
                Remark: 'remark'
            };
            this.Expression = {};
        });

OA.WalletGiftInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.WalletGiftInfo.prototype = new BaseModel(
        function () {
            this.TableName = "WalletGift";
            this.Fields = {
                ID: 'ID',
                GiftType: 'GiftType',
                Icon: 'Icon',
                GiftName: 'GiftName',
                GiftContent: 'GiftContent',
                Score: 'score',
                Effectivetime: 'Effectivetime',
                Deadtime: 'Deadtime',
                Lasteditby: 'Lasteditby',
                Lasteditdate: 'Lasteditdate'
            };
            this.Expression = {};
        });

OA.WallettrackInInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.WallettrackInInfo.prototype = new BaseModel(
        function () {
            this.TableName = "WallettrackIn";
            this.Fields = {
                Id: 'id',
                Walletid: 'walletid',
                Scorepay: 'scorepay',
                Cause: 'cause',
                Time: 'time',
                Remark: 'remark'
            };
            this.Expression = {};
        });

OA.WallettrackOutInfo = function () {
    this.OnCreating();
    this.ModifyInfos = new Array();
    this.Data = {};
    this.InitFields(this);
    this.OnCreated();
}
OA.WallettrackOutInfo.prototype = new BaseModel(
        function () {
            this.TableName = "WallettrackOut";
            this.Fields = {
                Id: 'id',
                Walletid: 'walletid',
                Scorepay: 'scorepay',
                Cause: 'cause',
                Time: 'time',
                Remark: 'remark',
                Giftid: 'giftid',
                IsRelease: 'isRelease'
            };
            this.Expression = {};
        });	
